/*

File: playcap.h

v0.1 Creating the window

*/
#include <cstdio>
#include <Windows.h>
#include <strsafe.h>

int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE hInstp, LPSTR lpCmdLine, int nCmdShow);
LRESULT CALLBACK WndMainProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);

void Msg(TCHAR *szFormat, ...);

HWND ghApp = 0;
HWND myTextBox;
HWND myStartButton;
HMENU textBoxHandle = NULL;
HMENU myStartButtonHandle = NULL;

//Constants
#define APPLICATIONNAME TEXT("Video Capture Previewer (PlayCap)\0")
#define CLASSNAME       TEXT("VidCapPreviewer\0")

bool closed; //test if window is closed or not.